package com.wiki.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wiki.entity.Ebook;
import com.wiki.utils.commonRequest.ebook.EbookQueryReq;
import com.wiki.utils.commonRequest.ebook.EbookSaveReq;
import com.wiki.utils.commonResponse.EbookQueryResp;
import com.wiki.utils.commonResponse.PageResp;

/**
 * <p>
 * 电子书 服务类
 * </p>
 *
 * @author 偷闰土的猹
 * @since 2022-01-04
 */
public interface EbookService extends IService<Ebook> {
    public PageResp<EbookQueryResp> listAll(EbookQueryReq req);

    //保存
    public void save(EbookSaveReq req);

    //删除
    public void delete(Long id);

//    模糊查询
    public PageResp<EbookQueryResp> queryLike(EbookQueryReq req);
}
